package cn.virens.server.aio.listener.simple;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import cn.virens.server.aio.channel.AioChannel;
import cn.virens.server.aio.listener.AioDataErrorListener;

public class SimpleAioDataErrorListener implements AioDataErrorListener {
	private final Logger logger = LoggerFactory.getLogger(getClass());

	@Override
	public void onError(AioChannel aioChannel, Object obj, Throwable exc) {
		logger.debug("数据处理异常:" + aioChannel + "->" + exc.getMessage(), exc);
	}

}
